using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace HREDU.Hoang_Tuan
{
    public partial class frmReportViewer : Form
    {
        Object rpt;
        public frmReportViewer(Object mReport)
        {
            InitializeComponent();
            rpt = mReport;
        }

        public frmReportViewer(Object mReport, string name)
        {
            InitializeComponent();
            rpt = mReport;
            this.Name = name;
        }

        private void frmReportViewer_Load(object sender, EventArgs e)
        {
            crystalReportViewer1.ReportSource = rpt;
        }
    }
}